﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;

namespace Md.Demo.Entity.MongoModels
{
    public class Staff : DocumentBase
    {
        public string Name { get; set; }
        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime Birthday { get; set; }
        public int Sex { get; set; }
        public string Mobile { get; set; }
        public string Email { get; set; }
        public ResumeSourseEnum ResumeSourse { get; set; }
        public ProgressEnum Progress { get; set; }
        public string ResumeUrl { get; set; }
        public string JobId { get; set; }

    }

    public enum ResumeSourseEnum
    {
        BOSS直聘 = 1,
        拉勾网 = 2,
        智联招聘 = 3,
    }

    public enum ProgressEnum
    {
        新简历 = 1,
        沟通中 = 2,
        通过 = 3,
        拒绝 = 4
    }

}
